package com.nbsaas.boot.data.ext.domain.data;

import com.nbsaas.boot.data.api.domain.response.QueryReportResponse;
import com.nbsaas.boot.data.api.domain.response.QueryTemplateResponse;
import com.nbsaas.boot.rest.request.QueryFunc;
import com.nbsaas.boot.rest.request.SqlBatchObject;
import com.nbsaas.boot.rest.request.SqlObject;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class HandleData {

    private SqlObject sqlObject;

    private SqlBatchObject sqlBatchObject;

    private QueryTemplateResponse response;


    private QueryReportResponse reportResponse;


    Map<String, Object> param;

    List<QueryFunc> aggregates;

    /**
     * 度量
     */
    List<QueryFunc> measures;

    List<String> groups;

    /**
     * 查询类型
     */
    private Integer queryType;

}
